<?php 


$num = 0;
for ($i=1; $i <= 6 ; $i++) { 
	
	$shuijishu = mt_rand(1,46);
	if ($shuijishu==$num) {
		$i-1;
	}else{
		echo $shuijishu;
		$num = $shuijishu;
	}
	
	echo "<br>";
}


 ?>